<script setup>
import { useRouter } from "vue-router";
import {Back} from "@element-plus/icons-vue";
const router = useRouter()
const back = () => {
  router.back()
}
</script>

<template>
  <el-button class="back-btn" @click="back">
    <el-icon><Back /></el-icon>
    返回
  </el-button>
</template>

<style scoped lang="scss">

</style>